*{
    margin: 0;
    padding: 0;
}
body{
    width: 100vw;
    height: 100vh;
    background-color: #333;
}

#app{
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;

}

.container{
    height: 100%;

}

.container.side{
    .el-menu{
        min-width: 60px;
        background-color: #333;
    }
    .el-menu-item{
        font-size: 20px;
        display: grid;
        grid-template-columns: 50px 1fr;
        align-items: center;        
        i{
            font-size: 40px;
            width:40px;
        }
        &:hover{
            background-color: dodgerblue;
        }
    }
}

.book-collection{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.book-card{
    width: 400px;
    height: 400px;
    flex-grow: 0;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin: 10px;
}
.book-panel{
    display: grid;
    grid-template-rows: 1fr 1fr;

}

.book-info{
    padding-left:10px;
    display: grid;
    grid-template-rows: 40px 60px 20px;
    font-weight: 600;
}

.book-title{
    text-overflow: ellipsis;
    font-size: 20px;
}

.book-chapter-count{
    display: block;
    text-align: center;
    font-size: 20px;
}

.book-operation{
    display: grid;
    grid-template-rows: repeat(4,1fr);
}